package controller

import (
	"{{.ProjectName}}/internal/service"

	"gitee.com/wu-jin-feng/fgin"
)

type Controller struct {
	F                 *fgin.Fgin
	GreeterController *GreeterController
}

func NewController(svc *service.Service) *Controller {
	return &Controller{
		svc.F,
		&GreeterController{svc.F, svc.Greeter},
	}
}
